<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://unpkg.com/vue"></script>
</head>
<body>
<ul id="v-for-object" >
    <li v-for="value in object">
       {{value}}
    </li>
</ul>
<script>
//你也可以用v-for通过一个对象的属性来迭代
    new Vue({
        el:'#v-for-object',
        data:{
           object:{
               firstName:'John',
               lastName:'Doe',
               age:30
           }
        }
    })

</script>
</body>
</html>